<?php
	include_once './sys/com/model/db/SupplierBrandDAO.php';
	include_once './sys/com/model/db/ProductDAO.php';
?>
<?php
//initialize the session
if (!isset($_SESSION)) {
  session_start();
}

// ** Logout the current user. **
$logoutAction = $_SERVER['PHP_SELF']."?doLogout=true";
if ((isset($_SERVER['QUERY_STRING'])) && ($_SERVER['QUERY_STRING'] != "")){
  $logoutAction .="&". htmlentities($_SERVER['QUERY_STRING']);
}

if ((isset($_GET['doLogout'])) &&($_GET['doLogout']=="true")){
  //to fully log out a visitor we need to clear the session varialbles
  $_SESSION['MM_Username'] = NULL;
  $_SESSION['MM_Perpass'] = NULL;
  $_SESSION['MM_UserGroup'] = NULL;
  $_SESSION['PrevUrl'] = NULL;
  unset($_SESSION['MM_Username']);
  unset($_SESSION['MM_Perpass']);
  unset($_SESSION['MM_UserGroup']);
  unset($_SESSION['PrevUrl']);
  session_destroy();
	
  $logoutGoTo = "index.php";
  if ($logoutGoTo) {
    header("Location: $logoutGoTo");
    exit;
  }
}

$picFront = "./admin/product/images/"; //產品圖檔前置路徑
$hrefFront = "./List_pages/contant/content.php?pa_id="; //產品連結前置路徑
$productDAO = new ProductDAO();
?>
<?php
function utf8_substr($StrInput,$strStart,$strLen)
{
//對字串做URL Eecode
$StrInput = mb_substr($StrInput,$strStart,mb_strlen($StrInput));
$iString = urlencode($StrInput);
$lstrResult="";
$istrLen = 0;
$k = 0;
do{
$lstrChar = substr($iString, $k, 1);
if($lstrChar == "%"){
$ThisChr = hexdec(substr($iString, $k+1, 2));
if($ThisChr >= 128){
if($istrLen+3 < $strLen){
$lstrResult .= urldecode(substr($iString, $k, 9));
$k = $k + 9;
$istrLen+=3;
}else{
$k = $k + 9;
$istrLen+=3;
}
}else{
$lstrResult .= urldecode(substr($iString, $k, 3));
$k = $k + 3;
$istrLen+=2;
}
}else{
$lstrResult .= urldecode(substr($iString, $k, 1));
$k = $k + 1;
$istrLen++;
}
}while ($k < strlen($iString) && $istrLen < $strLen); 
return $lstrResult;
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/index.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>購物網-首頁</title>
<script src="./admin/js/jquery.js" type="text/javascript"></script>
<script src="./admin/js/index.js" charset="UTF-8" type="text/javascript"></script>
<script src="./admin/js/jcarousellite_1.0.1.min.js" charset="UTF-8" type="text/javascript"></script>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<style type="text/css">
<!--
.style1 {color: #74B9E5}
.style2 {color: #333333}
.style16 {font-size: 14px}
.style17 {color: #74B9E5; font-size: 14px; }
.style18 {font-size: 14}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
.style24 {
	color: #FF6600;
	font-size: 14px;
}
.style27 {font-size: 12px; color: #666666; }
.style30 {
	color: #FFFFFF;
	font-size: 13px;
}
.style32 {font-size: 14px; color: #FF0000; }
.style39 {
	color: #006699;
	font-size: 15px;
	font-weight: bold;
}
.style43 {font-size: 12px; color: #666666; font-weight: bold; }
.style45 {
	font-size: 28px;
	color: #006600;
	font-weight: bold;
}
.style46 {color: #FF0000}
.style47 {
	font-size: 11px;
	color: #666666;
}
.style48 {
	font-size: 13px;
	color: #333333;
}
.style52 {
	font-size: 12px;
	color: #003333;
}
a:link {
}
.style53 {	color: #666666;
	font-size: 12px;
}
.style60 {color: #333333; font-size: 16px; }
.style61 {font-size: 13px; color: #666666; }



-->
</style>
<!-- InstanceEndEditable -->
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
	color: #666666;
}
a:active {
	text-decoration: none;
}
.style1 {
	font-size: 14px;
	color: #666666;
	font-weight: bold;
}
.style2 {
	color: #666666;
	font-size: 12px;
}
.style3 {
	font-size: 13px;
	color: #FFFFFF;
}
.style4 {font-size: 12px}
.style5 {font-size: 12px; color: #FFFFFF; }
.style8 {font-size: 7px; color: #FFFFFF; }
a:hover {
	color: #333333;
	text-decoration: underline;
}
.style10 {color: #666666}
.style12 {
	font-size: 13px;
}
.style13 {
	color: #FFFFFF
}

.scrolldiv ul li{margin:0 10px 0 10px;}
.prev, .next{cursor:pointer}
-->
</style>
<script>
	$(function() {
		$(".scrolldiv").jCarouselLite({
			btnNext: ".next",
			btnPrev: ".prev",
			visible: 4,
			auto: 7000
		});
	});
</script>
</head>

<body>
<table width="1024" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><table width="1024" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="955"><table width="955" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td><span class="style2">設為首頁</span></td>
            <td width="469" valign="bottom"><table width="161" height="25" border="0" align="right" cellpadding="0" cellspacing="0">
              <tr>
                <td width="20" align="center"><img src="images/Member_icon.png" width="13" height="13" /></td>
                <td width="75" align="center"><div align="center"><span><a href="member/personal_member/personal_member_index.php" class="style1">會員專區</a></span></div></td>
                <td width="18" align="center"><img src="images/member_icon_red.png" width="13" height="13" /></td>
                <td width="48" align="center" class="style1"><div align="center"><a href="<?php echo $logoutAction ?>">登出</a></div></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td align="center"><table width="955" border="0" cellpadding="0" cellspacing="0" id="top">
          <tr>
            <td height="82" background="images/top_bg.png"><table width="955" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="180" height="82" rowspan="2">&nbsp;</td>
                <td width="300" height="45"><table width="300" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="60" align="center"><img src="images/top_hot_icon.png" width="38" height="17" /></td>
                    <td width="240"><table border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="240"><div align="left"><span class="style3"><a href="#" class="style3">筆記型電腦</a> ,<a href="#" class="style3"> iPhone</a> ,<a href="#" class="style3">女裝</a></span></div></td>
                      </tr>
                    </table></td>
                  </tr>
                </table></td>
                <td width="475" align="center" valign="middle"><table width="285" border="0" align="right" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="20" align="center"><img src="images/top_line.png" alt="" width="1" height="8" /></td>
                    <td width="75" align="center"><a href="List_pages/other_list/recommend_list.php" class="style3">推薦商品</a></td>
                    <td width="20" align="center"><img src="images/top_line.png" alt="" width="1" height="8" /></td>
                    <td width="75" align="center"><a href="List_pages/other_list/discount_list.php" class="style3">特價商品</a></td>
                    <td width="20" align="center"><img src="images/top_line.png" alt="" width="1" height="8" /></td>
                    <td width="75" align="center"><a href="List_pages/brand_list/brand_list.php" class="style3">品牌專區</a></td>
                  </tr>
                  <tr>
                    <td width="20" align="center" class="style8"></td>
                    <td width="75" align="center"><a href="List_pages/other_list/recommend_list.php" class="style8">RECOMMEND</a></td>
                    <td width="20" align="center" class="style8"></td>
                    <td width="75" align="center"><a href="List_pages/other_list/discount_list.php" class="style8">DISCOUNT</a></td>
                    <td width="20" align="center"></td>
                    <td width="75" align="center"><a href="List_pages/brand_list/brand_list.php" class="style8">BRAND</a></td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td height="37" colspan="2"><table width="775" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="300" height="37">                      <table width="268" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                          <td width="20" align="center"><form id="form1" name="form1" method="post" action="">
                            <label></label>
                            </form>                        </td>
                              <td width="200" align="center"><input name="textfield" type="text" class="style1" id="textfield" /></td>
                              <td align="center"><form id="form2" name="form2" method="post" action="">
                                <label>
                                  <input name="button" type="submit" class="style2" id="button" value="搜尋" />
                                  </label>
                                </form>                        </td>
                            </tr>
                      </table></td>
                    <td width="475" align="center" valign="middle">                      <table border="0" align="right" cellpadding="0" cellspacing="0">
                        <tr>
                          <td align="center" class="style3">　｜　</td>
                                  <td class="style3"><table border="0" align="center" cellpadding="0" cellspacing="0">
                                      <tr>
                                        <td width="75"><div align="center"><a href="List_pages/product_list/preoder_list.html" class="style3">預購</a></div></td>
                                      </tr>
                                  </table></td>
                                  <td align="center" class="style3">　｜　</td>
                                  <td class="style3"><table border="0" align="center" cellpadding="0" cellspacing="0">
                                      <tr>
                                        <td width="75"><div align="center"><a href="#" class="style3">購物車</a></div></td>
                                      </tr>
                                  </table></td>
                                  <td align="center" class="style3">　｜　</td>
                                  <td class="style3"><table border="0" align="center" cellpadding="0" cellspacing="0">
                                      <tr>
                                        <td width="75"><div align="center"><a href="#" class="style3">客戶中心</a></div></td>
                                      </tr>
                                  </table></td>
                                </tr>
                        
                      </table></td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td align="center"><!-- InstanceBeginEditable name="EditRegion1" -->
          <table border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="10"></td>
            </tr>
            <tr>
              <td valign="top"><table border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td valign="top"><table border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td align="center" valign="top"><table border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                          <td align="center"><img src="images/index_12.png" width="180" height="54" /></td>
                        </tr>
                        <tr>
                          <td><?php require_once "./common/menu.php"; ?></td>
                        </tr>
                        <tr>
                          <td width="180" height="28" align="center"><table width="0" border="0" align="center" cellpadding="0" cellspacing="0">
                            <tr>
                              <td width="180" height="28" align="center" background="images/index_20.png"></td>
                            </tr>
                          </table></td>
                        </tr>
                      </table></td>
                    </tr>
                    <tr>
                      <td height="10"></td>
                    </tr>
					<?php 
                        $supplierBrandDAO = new SupplierBrandDAO();
                        $result = $supplierBrandDAO->queryByAll();
                        
                        if(count($result)>0){
                    ?>
                    <tr>
                      <td align="center"><table border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="180" height="42" background="images/Brand_Street_title.png"></td>
                        </tr>
                        <tr>
                          <td width="180" background="images/Brand_Street_in.png"><table width="178" border="0" align="center" cellpadding="0" cellspacing="0">
                          <?php 
							$count = count($result)/2;
	                        if(is_float($count)){ //若有小數位則加1
	                        	$count = (int)($count)+1;
	                        }
	                        $bpicFront = "admin/supplier/admin_supplier_brand/images/";
							$emptyPic = $bpicFront."spacer.gif";;
	                        $index = 0;
	                        for($i=0; $i<$count; $i++){
	                        	$pic0 = $bpicFront."spacer.gif";
	                        	$alt0 = "";
	                        	if($index<count($result)){
	                        		if(!is_null($result[$index]->{"pic"})){
	                        			$pic0 = $bpicFront.$result[$index]->{"pic"};
	                        		}
	                        		$alt0 = $result[$index]->{"logo_name"};
	                        		$index++;
	                        	}
	                        	$pic1 = $bpicFront."spacer.gif";
	                        	$alt1 = "";
	                        	if($index<count($result)){
	                        		if(!is_null($result[$index]->{"pic"})){
	                        			$pic1 = $bpicFront.$result[$index]->{"pic"};
	                        		}
	                        		$alt1 = $result[$index]->{"logo_name"};
	                        		$index++;
	                        	}
                          ?>
                            <tr>
                              <td width="88" height="45" align="center" valign="middle"><img src="<?php echo $pic0?>" width="88" height="44" alt="<?php echo $alt0?>" style="background-color: #FF0000" /></td>
                              <td width="88" align="center" valign="middle"><img src="<?php echo $pic1?>" width="88" height="44" alt="<?php echo $alt1?>" style="background-color: #FF0000" /></td>
                            </tr>
                          <?php }?>
                          </table></td>
                        </tr>
                        <tr>
                          <td><img src="images/Brand_Street_end.png" width="180" height="4" /></td>
                        </tr>
                      </table></td>
                    </tr>
                    <?php }?>
                  </table></td>
                  <td width="10"></td>
                  <td><table border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td valign="top"><table border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td valign="top"><table border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td width="558" height="307" align="center" valign="middle"><img src="images/index_08.png" width="558" height="307" /></td>
                            </tr>
                            <tr>
                              <td height="10"></td>
                            </tr>
                            <tr>
                              <td><table width="558" border="0" cellpadding="0" cellspacing="0" background="images/index_24.png">
                                <tr>
                                  <td height="186"><table border="0" cellspacing="0" cellpadding="0">
                                      <tr>
                                        <td width="558" height="34"><table width="558" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                              <td height="34">&nbsp;</td>
                                              </tr>
                                            
                                        </table></td>
                                      </tr>
                                      <tr>
                                        <td><table border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                              <td height="10"></td>
                                            </tr>
                                            <tr>
                                              <td><table width="558" border="0" cellspacing="0" cellpadding="0">
                                                  <tr>
                                                    <td align="left" valign="middle"><img src="images/index_24left.png" class="prev" width="10" height="34" /></td>
                                                    <td align="center">
														<div class="scrolldiv">
															<ul>
															<?php
																$products = $productDAO->queryHappyPrice();
																for($i=0; $i<count($products); $i++){
															?>
																<li><table width="0" border="0" cellspacing="0" cellpadding="0">
                                                                    <tr>
                                                                      <td width="108" height="100" align="center"><table border="0" cellspacing="0" cellpadding="0">
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_top.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td align="left"><img src="images/index_24box_left.png" width="3" height="92" /></td>
                                                                            <td><a href="<?php echo $hrefFront.$products[$i]->{"p_id"}?>" title="<?php $products[$i]->{"title"}?>"><img src="<?php echo $picFront.$products[$i]->{"pic"}?>" alt="<?php echo $products[$i]->{"title"}?>" name="pic" width="100" height="92" id="pic" style="background-color: #FF0000" border="0" /></a></td>
                                                                            <td align="right"><img src="images/index_24box_right.png" width="3" height="92" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_end.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                      </table></td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td height="10" align="center"><span class="style16">[<?php echo utf8_substr($products[$i]->{"title"}, 0, 15)?>...]</span></td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td align="center" class="style16">$ <?php echo number_format($products[$i]->{"price"})?>...</td>
                                                                    </tr>
                                                                </table></li>
															<?php }?>
																<!--
																<li><table width="0" border="0" cellspacing="0" cellpadding="0">
                                                                    <tr>
                                                                      <td width="108" height="100" align="center"><table border="0" cellspacing="0" cellpadding="0">
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_top.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td align="left"><img src="images/index_24box_left.png" width="3" height="92" /></td>
                                                                            <td><img src="" alt="" name="pic" width="100" height="92" id="pic" style="background-color: #FF0000" /></td>
                                                                            <td align="right"><img src="images/index_24box_right.png" width="3" height="92" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_end.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                      </table></td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td height="10" align="center"><span class="style16">[2...]</span></td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td align="center" class="style16">$ 6,8000000...</td>
                                                                    </tr>
                                                                </table></li>
																<li><table width="0" border="0" cellspacing="0" cellpadding="0">
                                                                    <tr>
                                                                      <td width="108" height="100" align="center"><table border="0" cellspacing="0" cellpadding="0">
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_top.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td align="left"><img src="images/index_24box_left.png" width="3" height="92" /></td>
                                                                            <td><img src="" alt="" name="pic" width="100" height="92" id="pic" style="background-color: #FF0000" /></td>
                                                                            <td align="right"><img src="images/index_24box_right.png" width="3" height="92" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_end.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                      </table></td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td height="10" align="center"><span class="style16">[3...]</span></td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td align="center" class="style16">$ 6,8000000...</td>
                                                                    </tr>
                                                                </table></li>
																<li><table width="0" border="0" cellspacing="0" cellpadding="0">
                                                                    <tr>
                                                                      <td width="108" height="100" align="center"><table border="0" cellspacing="0" cellpadding="0">
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_top.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td align="left"><img src="images/index_24box_left.png" width="3" height="92" /></td>
                                                                            <td><img src="" alt="" name="pic" width="100" height="92" id="pic" style="background-color: #FF0000" /></td>
                                                                            <td align="right"><img src="images/index_24box_right.png" width="3" height="92" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_end.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                      </table></td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td height="10" align="center"><span class="style16">[4...]</span></td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td align="center" class="style16">$ 6,8000000...</td>
                                                                    </tr>
                                                                </table></li>
																<li><table width="0" border="0" cellspacing="0" cellpadding="0">
                                                                    <tr>
                                                                      <td width="108" height="100" align="center"><table border="0" cellspacing="0" cellpadding="0">
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_top.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td align="left"><img src="images/index_24box_left.png" width="3" height="92" /></td>
                                                                            <td><img src="" alt="" name="pic" width="100" height="92" id="pic" style="background-color: #FF0000" /></td>
                                                                            <td align="right"><img src="images/index_24box_right.png" width="3" height="92" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_end.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                      </table></td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td height="10" align="center"><span class="style16">[5...]</span></td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td align="center" class="style16">$ 6,8000000...</td>
                                                                    </tr>
                                                                </table></li>
																<li><table width="0" border="0" cellspacing="0" cellpadding="0">
                                                                    <tr>
                                                                      <td width="108" height="100" align="center"><table border="0" cellspacing="0" cellpadding="0">
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_top.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td align="left"><img src="images/index_24box_left.png" width="3" height="92" /></td>
                                                                            <td><img src="" alt="" name="pic" width="100" height="92" id="pic" style="background-color: #FF0000" /></td>
                                                                            <td align="right"><img src="images/index_24box_right.png" width="3" height="92" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_end.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                      </table></td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td height="10" align="center"><span class="style16">[6...]</span></td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td align="center" class="style16">$ 6,8000000...</td>
                                                                    </tr>
                                                                </table></li>
																<li><table width="0" border="0" cellspacing="0" cellpadding="0">
                                                                    <tr>
                                                                      <td width="108" height="100" align="center"><table border="0" cellspacing="0" cellpadding="0">
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_top.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td align="left"><img src="images/index_24box_left.png" width="3" height="92" /></td>
                                                                            <td><img src="" alt="" name="pic" width="100" height="92" id="pic" style="background-color: #FF0000" /></td>
                                                                            <td align="right"><img src="images/index_24box_right.png" width="3" height="92" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_end.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                      </table></td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td height="10" align="center"><span class="style16">[7...]</span></td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td align="center" class="style16">$ 6,8000000...</td>
                                                                    </tr>
                                                                </table></li>
																<li><table width="0" border="0" cellspacing="0" cellpadding="0">
                                                                    <tr>
                                                                      <td width="108" height="100" align="center"><table border="0" cellspacing="0" cellpadding="0">
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_top.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td align="left"><img src="images/index_24box_left.png" width="3" height="92" /></td>
                                                                            <td><img src="" alt="" name="pic" width="100" height="92" id="pic" style="background-color: #FF0000" /></td>
                                                                            <td align="right"><img src="images/index_24box_right.png" width="3" height="92" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_end.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                      </table></td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td height="10" align="center"><span class="style16">[8...]</span></td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td align="center" class="style16">$ 6,8000000...</td>
                                                                    </tr>
                                                                </table></li>
																<li><table width="0" border="0" cellspacing="0" cellpadding="0">
                                                                    <tr>
                                                                      <td width="108" height="100" align="center"><table border="0" cellspacing="0" cellpadding="0">
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_top.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td align="left"><img src="images/index_24box_left.png" width="3" height="92" /></td>
                                                                            <td><img src="" alt="" name="pic" width="100" height="92" id="pic" style="background-color: #FF0000" /></td>
                                                                            <td align="right"><img src="images/index_24box_right.png" width="3" height="92" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_end.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                      </table></td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td height="10" align="center"><span class="style16">[9...]</span></td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td align="center" class="style16">$ 6,8000000...</td>
                                                                    </tr>
                                                                </table></li>
																<li><table width="0" border="0" cellspacing="0" cellpadding="0">
                                                                    <tr>
                                                                      <td width="108" height="100" align="center"><table border="0" cellspacing="0" cellpadding="0">
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_top.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td align="left"><img src="images/index_24box_left.png" width="3" height="92" /></td>
                                                                            <td><img src="" alt="" name="pic" width="100" height="92" id="pic" style="background-color: #FF0000" /></td>
                                                                            <td align="right"><img src="images/index_24box_right.png" width="3" height="92" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_end.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                      </table></td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td height="10" align="center"><span class="style16">[10...]</span></td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td align="center" class="style16">$ 6,8000000...</td>
                                                                    </tr>
                                                                </table></li>
																-->
															</ul>
														</div>
													
													</td>
                                                    <td align="right" valign="middle"><img src="images/index_24right.png" class="next" width="10" height="34" /></td>
                                                  </tr>
                                              </table></td>
                                            </tr>
											<!---->
											<!--
											<tr>
                                        <td><table border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                              <td height="10"></td>
                                            </tr>
                                            <tr>
                                              <td><table width="558" border="0" cellspacing="0" cellpadding="0">
                                                  <tr>
                                                    <td align="left" valign="middle"><img src="images/index_24left.png" width="10" height="34" /></td>
                                                    <td align="center"><table width="0" border="0" cellspacing="0" cellpadding="0">
                                                        <tr>
                                                          <td><table width="0" border="0" cellspacing="0" cellpadding="0">
                                                              <tr>
                                                                <td><table width="0" border="0" cellspacing="0" cellpadding="0">
                                                                    <tr>
                                                                      <td width="108" height="100" align="center"><table border="0" cellspacing="0" cellpadding="0">
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_top.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td align="left"><img src="images/index_24box_left.png" width="3" height="92" /></td>
                                                                            <td><img src="" alt="" name="pic" width="100" height="92" id="pic" style="background-color: #FF0000" /></td>
                                                                            <td align="right"><img src="images/index_24box_right.png" width="3" height="92" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_end.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                      </table></td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td height="10" align="center"><span class="style16">[器器器器器...]</span></td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td align="center" class="style16">$ 6,8000000...</td>
                                                                    </tr>
                                                                </table></td>
                                                                <td width="25">&nbsp;</td>
                                                                <td><table width="0" border="0" cellspacing="0" cellpadding="0">
                                                                    <tr>
                                                                      <td width="108" height="100" align="center"><table border="0" cellspacing="0" cellpadding="0">
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_top.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td align="left"><img src="images/index_24box_left.png" width="3" height="92" /></td>
                                                                            <td><img src="" alt="" name="pic" width="100" height="92" id="pic" style="background-color: #FF0000" /></td>
                                                                            <td align="right"><img src="images/index_24box_right.png" width="3" height="92" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_end.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                      </table></td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td height="10" align="center"><span class="style16">[器器器器器...]</span></td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td height="10" align="center" class="style16">$ 6,8000000...</td>
                                                                    </tr>
                                                                </table></td>
                                                                <td width="25">&nbsp;</td>
                                                                <td><table width="0" border="0" cellspacing="0" cellpadding="0">
                                                                    <tr>
                                                                      <td width="108" height="100" align="center"><table border="0" cellspacing="0" cellpadding="0">
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_top.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td align="left"><img src="images/index_24box_left.png" width="3" height="92" /></td>
                                                                            <td><img src="" alt="" name="pic" width="100" height="92" id="pic" style="background-color: #FF0000" /></td>
                                                                            <td align="right"><img src="images/index_24box_right.png" width="3" height="92" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_end.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                      </table></td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td height="10" align="center" class="style16">[器器器器器...]</td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td height="10" align="center" class="style16">$ 6,8000000...</td>
                                                                    </tr>
                                                                </table></td>
                                                                <td width="25">&nbsp;</td>
                                                                <td><table width="0" border="0" cellspacing="0" cellpadding="0">
                                                                    <tr>
                                                                      <td width="108" height="100" align="center"><table border="0" cellspacing="0" cellpadding="0">
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_top.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td align="left"><img src="images/index_24box_left.png" width="3" height="92" /></td>
                                                                            <td><img src="" alt="" name="pic" width="100" height="92" id="pic" style="background-color: #FF0000" /></td>
                                                                            <td align="right"><img src="images/index_24box_right.png" width="3" height="92" /></td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td colspan="3" align="center"><img src="images/index_24box_end.png" width="106" height="3" /></td>
                                                                          </tr>
                                                                      </table></td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td height="10" align="center" class="style16">[器器器器器...]</td>
                                                                    </tr>
                                                                    <tr>
                                                                      <td height="10" align="center" class="style16">$ 6,8000000...</td>
                                                                    </tr>
                                                                </table></td>
                                                              </tr>
                                                          </table></td>
                                                        </tr>
                                                    </table></td>
                                                    <td align="right" valign="middle"><img src="images/index_24right.png" width="10" height="34" /></td>
                                                  </tr>
                                              </table></td>
                                            </tr>
											-->
											<!---->
                                            <tr>
                                              <td height="6"></td>
                                            </tr>
                                        </table></td>
                                      </tr>
                                      <tr>
                                        <td align="center"></td>
                                      </tr>
                                  </table></td>
                                </tr>
                              </table></td>
                            </tr>
                          </table></td>
                          <td width="10"></td>
                          <td valign="top"><table border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td align="center" valign="top"><table border="0" align="center" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td><img src="images/today_box_top.png" width="197" height="7" /></td>
                                  </tr>
                                <tr>
                                  <td background="images/today_box_in.png"><table width="197" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                      <td width="10"></td>
                                      <td width="177"><table border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                          <td width="178" height="19" background="images/today_special_03.png"><table width="178" border="0" align="center" cellpadding="0" cellspacing="0">
                                            <tr>
                                              <td width="53" align="center"><img src="images/today_special_03-1.png" width="12" height="11" /></td>
                                              <td width="125"><span class="style30">今日特價商品</span></td>
                                            </tr>
                                          </table></td>
                                        </tr>
                                        <tr>
                                          <td><img src="images/today_special_05.png" width="178" height="75" /></td>
                                        </tr>
                                        <tr>
                                          <td><table border="0" align="center" cellpadding="0" cellspacing="0">
                                            <tr>
                                              <td><table border="0" align="center" cellpadding="0" cellspacing="0">
                                                <tr>
                                                  <td align="center"><table border="0" cellspacing="0" cellpadding="0">
                                                    <tr>
                                                      <td><img src="images/today_框_01.png" width="77" height="2" /></td>
                                                    </tr>
                                                    <tr>
                                                      <td width="77" height="73" align="center" valign="middle" background="images/today_框_02.png"><table border="0" align="center" cellpadding="0" cellspacing="0">
                                                        <tr>
                                                          <td align="center" valign="middle"><img id="src1" src="admin/product/images/spacer.gif" alt="" name="today_special_image" width="75" height="70"  style="background-color: #FF0000" /></td>
                                                        </tr>
                                                      </table></td>
                                                    </tr>
                                                    <tr>
                                                      <td><img src="images/today_框_03.png" width="77" height="2" /></td>
                                                    </tr>
                                                  </table></td>
                                                  <td width="96" height="77"><table border="0" cellspacing="0" cellpadding="0">
                                                    <tr>
                                                      <td width="2"></td>
                                                      <td align="left"><span><a id="url1" href="#" class="style60"></a></span></td>
                                                      <td width="2"></td>
                                                    </tr>
                                                    <tr>
                                                      <td width="2"></td>
                                                      <td align="left"><span id="price1" class="style32"></span></td>
                                                      <td width="2"></td>
                                                    </tr>
                                                  </table></td>
                                                </tr>
                                              </table></td>
                                            </tr>
                                            <tr>
                                              <td height="7"></td>
                                            </tr>
                                            <tr>
                                              <td><table border="0" align="center" cellpadding="0" cellspacing="0">
                                                <tr>
                                                  <td align="center"><table border="0" cellspacing="0" cellpadding="0">
                                                    <tr>
                                                      <td><img src="images/today_框_01.png" width="77" height="2" /></td>
                                                    </tr>
                                                    <tr>
                                                      <td width="77" height="73" align="center" valign="middle" background="images/today_框_02.png"><table border="0" align="center" cellpadding="0" cellspacing="0">
                                                        <tr>
                                                          <td align="center" valign="middle"><img id="src2" src="admin/product/images/spacer.gif" alt="" name="today_special_image" width="75" height="70"  style="background-color: #FF0000" /></td>
                                                        </tr>
                                                      </table></td>
                                                    </tr>
                                                    <tr>
                                                      <td><img src="images/today_框_03.png" width="77" height="2" /></td>
                                                    </tr>
                                                  </table></td>
                                                  <td width="96" height="77"><table border="0" cellspacing="0" cellpadding="0">
                                                    <tr>
                                                      <td width="2"></td>
                                                      <td align="left"><span><a id="url2" href="#" class="style60"></a></span></td>
                                                      <td width="2"></td>
                                                    </tr>
                                                    <tr>
                                                      <td width="2"></td>
                                                      <td align="left"><span id="price2" class="style32"></span></td>
                                                      <td width="2"></td>
                                                    </tr>
                                                  </table></td>
                                                </tr>
                                              </table></td>
                                            </tr>
                                            <tr>
                                              <td height="7"></td>
                                            </tr>
                                            <tr>
                                              <td><table border="0" align="center" cellpadding="0" cellspacing="0">
                                                <tr>
                                                  <td align="center"><table border="0" cellspacing="0" cellpadding="0">
                                                    <tr>
                                                      <td><img src="images/today_框_01.png" width="77" height="2" /></td>
                                                    </tr>
                                                    <tr>
                                                      <td width="77" height="73" align="center" valign="middle" background="images/today_框_02.png"><table border="0" align="center" cellpadding="0" cellspacing="0">
                                                        <tr>
                                                          <td align="center" valign="middle"><img src="admin/product/images/spacer.gif" alt="" name="today_special_image" width="75" height="70" id="src3" style="background-color: #FF0000" /></td>
                                                        </tr>
                                                      </table></td>
                                                    </tr>
                                                    <tr>
                                                      <td><img src="images/today_框_03.png" width="77" height="2" /></td>
                                                    </tr>
                                                  </table></td>
                                                  <td width="96" height="77"><table border="0" cellspacing="0" cellpadding="0">
                                                    <tr>
                                                      <td width="2"></td>
                                                      <td align="left"><span><a id="url3" href="#" class="style60"></a></span></td>
                                                      <td width="2"></td>
                                                    </tr>
                                                    <tr>
                                                      <td width="2"></td>
                                                      <td align="left"><span id="price3" class="style32"></span></td>
                                                      <td width="2"></td>
                                                    </tr>
                                                  </table></td>
                                                </tr>
                                              </table></td>
                                            </tr>
                                            <tr>
                                              <td height="9"></td>
                                            </tr>
                                          </table></td>
                                        </tr>
                                      </table></td>
                                      <td width="10"></td>
                                    </tr>
                                  </table></td>
                                  </tr>
                                <tr>
                                  <td><img src="images/today_box_end.png" width="197" height="7" /></td>
                                  </tr>
                              </table></td>
                            </tr>
                            <tr>
                              <td height="10"></td>
                            </tr>
                            <tr>
                              <td><img src="images/index_27.png" width="197" height="130" /></td>
                            </tr>
                          </table></td>
                        </tr>
                      </table></td>
                    </tr>
                    <tr>
                      <td height="10"></td>
                    </tr>
					<!-- Best Seller start -->
					<?php
						$pics = array($emptyPic, $emptyPic, $emptyPic, $emptyPic);
						$brands = array("", "", "", "");
						$titles = array("", "", "", "");
						$hrefs = array("javascript:;", "javascript:;", "javascript:;", "javascript:;");
						$prices = array("", "", "", "");
						$hasproductBrands = $supplierBrandDAO->queryHasProductBrands();
						if(count($hasproductBrands)>0){
							$brands[0] = $hasproductBrands[0]->{"logo_name"};
							$product = $productDAO->queryNewestSupplierProduct($hasproductBrands[0]->{"sb_id"});
							$pics[0] = $picFront.$product[0]->{"pic"};
							$titles[0] = $product[0]->{"title"};
							$prices[0] = number_format($product[0]->{"price"})."元";
							$hrefs[0] = $hrefFront.$product[0]->{"p_id"};
						}
						if(count($hasproductBrands)>1){
							$brands[1] = $hasproductBrands[1]->{"logo_name"};
							$product = $productDAO->queryNewestSupplierProduct($hasproductBrands[1]->{"sb_id"});
							$pics[1] = $picFront.$product[0]->{"pic"};
							$titles[1] = $product[0]->{"title"};
							$prices[1] = number_format($product[0]->{"price"})."元";
							$hrefs[1] = $hrefFront.$product[0]->{"p_id"};
						}
						if(count($hasproductBrands)>2){
							$brands[2] = $hasproductBrands[2]->{"logo_name"};
							$product = $productDAO->queryNewestSupplierProduct($hasproductBrands[2]->{"sb_id"});
							$pics[2] = $picFront.$product[0]->{"pic"};
							$titles[2] = $product[0]->{"title"};
							$prices[2] = number_format($product[0]->{"price"})."元";
							$hrefs[2] = $hrefFront.$product[0]->{"p_id"};
						}
					?>
                    <tr>
                      <td width="765" height="188" background="images/best_seller_bg.png"><table width="755" height="68" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                          <td width="183" height="180" valign="bottom"><table width="183" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                              <td align="center"><span class="style52">消費者們最信賴的商品品牌。</span></td>
                              </tr>
                          </table></td>
                          <td width="188" align="center"><table width="186" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td height="103" align="center"><img src="<?php echo $pics[0]?>" width="186" height="103" alt="<?php echo $titles[0]?>" style="background-color: #FF0000" /></td>
                            </tr>
                            <tr>
                              <td height="74" align="center"><table border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td align="left"><a href="<?php echo $hrefs[0]?>" class="style60"><?php echo $titles[0]?>...</a></td>
                                </tr>
                                <tr>
                                  <td align="left"><span class="style24"><?php echo $brands[0]?>...</span></td>
                                </tr>
                                <tr>
                                  <td align="center"><span class="style32"><?php echo $prices[0]?></span></td>
                                </tr>
                              </table></td>
                            </tr>
                          </table></td>
                          <td width="188" align="center"><table width="186" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td height="103" align="center"><img src="<?php echo $pics[1]?>" width="186" height="103" alt="<?php echo $titles[1]?>" style="background-color: #FF0000" /></td>
                            </tr>
                            <tr>
                              <td height="74" align="center"><table border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td align="left"><a href="<?php echo $hrefs[1]?>" class="style60"><?php echo $titles[1]?>...</a></td>
                                </tr>
                                <tr>
                                  <td align="left"><span class="style24"><?php echo $brands[1]?>...</span></td>
                                </tr>
                                <tr>
                                  <td align="center"><span class="style32"><?php echo $prices[1]?></span></td>
                                </tr>
                              </table></td>
                            </tr>
                          </table></td>
                          <td width="188" align="center"><table width="186" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td height="103" align="center"><img src="<?php echo $pics[2]?>" width="186" height="103" alt="<?php echo $titles[2]?>" style="background-color: #FF0000" /></td>
                            </tr>
                            <tr>
                              <td height="74" align="center"><table border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td align="left"><a href="<?php echo $hrefs[2]?>" class="style60"><?php echo $titles[2]?>...</a></td>
                                </tr>
                                <tr>
                                  <td align="left"><span class="style24"><?php echo $brands[2]?>...</span></td>
                                </tr>
                                <tr>
                                  <td align="center"><span class="style32"><?php echo $prices[2]?></span></td>
                                </tr>
                              </table></td>
                            </tr>
                          </table></td>
                        </tr>
                      </table></td>
                    </tr>
					<!-- Best Seller end -->
                    <tr>
                      <td height="10"></td>
                    </tr>
                    
                  </table></td>
                </tr>
              </table></td>
            </tr>
            <tr>
              <td height="10"></td>
            </tr>
            <tr>
              <td align="center"><table border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="472" height="197"><table border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="178" height="197" background="images/index_LifeSupplies_bg_01.png"></td>
                      <td width="294" height="197" valign="top" background="images/index_Cosmetics_boxbg.png"><table border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="289" height="197" valign="top"><table width="289" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td width="289" height="197"><iframe src="index_ifram/index_LifeSupplies.php" width="289" height="197" scrolling="No" frameborder="0" class="style18"></iframe></td>
                            </tr>
                          </table></td>
                          <td width="5" background="images/index_LifeSupplies_bg_03.png"></td>
                        </tr>
                      </table></td>
                    </tr>
                  </table></td>
                  <td width="10"></td>
                  <td width="472" height="197"><table border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="178" height="197" background="images/index_Cosmetics_bg_01.png"></td>
                      <td width="294" height="197" valign="top" background="images/index_Cosmetics_boxbg.png"><table border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="289" height="197" valign="top"><table width="289" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td width="289" height="197"><iframe src="index_ifram/index_Cosmetics.php" width="289" height="197" scrolling="No" frameborder="0" class="style18"></iframe></td>
                            </tr>
                          </table></td>
                          <td width="5" background="images/index_Cosmetics_bg_03.png"></td>
                        </tr>
                      </table></td>
                    </tr>
                  </table></td>
                </tr>
                <tr>
                  <td height="10" colspan="3"></td>
                  </tr>
                <tr>
                  <td width="472" height="197"><table border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="178" height="197" background="images/index_Apparel_bg_01.png"></td>
                      <td width="294" height="197" valign="top" background="images/index_Cosmetics_boxbg.png"><table border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="289" height="197" valign="top"><table width="289" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td width="289" height="197"><iframe src="index_ifram/index_Apparel.php" width="289" height="197" scrolling="No" frameborder="0" class="style18"></iframe></td>
                            </tr>
                          </table></td>
                          <td width="5" background="images/index_Apparel_bg_03.png"></td>
                        </tr>
                      </table></td>
                    </tr>
                  </table></td>
                  <td width="10"></td>
                  <td width="472" height="197"><table border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="178" height="197" background="images/index_PcDigital_bg_01.png"></td>
                      <td width="294" height="197" valign="top" background="images/index_Cosmetics_boxbg.png"><table border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="289" height="197" valign="top"><table width="289" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td width="289" height="197"><iframe src="index_ifram/index_PcDigital.php" width="289" height="197" scrolling="No" frameborder="0" class="style18"></iframe></td>
                            </tr>
                          </table></td>
                          <td width="5" background="images/index_PcDigital_bg_03.png"></td>
                        </tr>
                      </table></td>
                    </tr>
                  </table></td>
                </tr>
              </table></td>
            </tr>
            <tr>
              <td height="10"></td>
            </tr>
            <tr>
              <td><table width="955" border="0" align="center" cellpadding="0" cellspacing="0" background="images/bottom_bg.png">
                <tr>
                  <td height="267" align="center" valign="top"><table width="955" height="267" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="955" height="13"></td>
                    </tr>
                    <tr>
                      <td height="87" valign="top"><table width="955" height="87" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                          <td width="242" valign="top"><table width="242" height="87" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                              <td width="90"></td>
                              <td width="144" align="center"><table border="0" align="left" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td height="30" align="left"><span><a href="#" class="style39">付款方式, 運費查詢</a></span></td>
                                </tr>
                                <tr>
                                  <td align="left"><span class="style27">確認付款方式，交付或其他<br />
  請與我們聯繫不適的細節。</span></td>
                                </tr>
                              </table></td>
                            </tr>
                          </table></td>
                          <td width="236"><table width="236" height="87" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                              <td width="95"></td>
                              <td width="138"><table border="0" align="left" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td height="30" align="left"><span><a href="#" class="style39">批量採購服務</a></span></td>
                                </tr>
                                <tr>
                                  <td align="left" class="style27">如果您想批量採購<br />
                                    在此為您服務。</td>
                                </tr>
                              </table></td>
                            </tr>
                          </table></td>
                          <td width="236" valign="top"><table width="236" height="87" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                              <td width="95"></td>
                              <td><table border="0" align="left" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td height="30" align="left"><span><a href="#" class="style39">貨運資訊</a></span></td>
                                </tr>
                                <tr>
                                  <td align="left" class="style27">購買後交付方式<br />
                                    可在此查詢。</td>
                                </tr>
                              </table></td>
                            </tr>
                          </table></td>
                          <td width="241"><table width="241" height="87" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                              <td width="95"></td>
                              <td width="150"><table border="0" align="left" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td height="30" align="left"><span><a href="#" class="style39">商品問題</a></span></td>
                                </tr>
                                <tr>
                                  <td align="left" class="style27">商品如有問題<br />
                                    在此提供處理方式。</td>
                                </tr>
                              </table></td>
                            </tr>
                          </table></td>
                        </tr>
                      </table></td>
                    </tr>
                    <tr>
                      <td height="10"></td>
                    </tr>
                    <tr>
                      <td height="147" valign="top"><table width="955" height="147" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                          <td width="321" valign="top"><table width="320" height="147" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                              <td height="36" valign="bottom"><table width="320" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td width="201">&nbsp;</td>
                                  <td width="119" align="left" valign="bottom"><span class="style43">客戶服務中心</span></td>
                                </tr>
                              </table></td>
                            </tr>
                            <tr>
                              <td height="10"></td>
                            </tr>
                            <tr>
                              <td><table width="309" height="76" border="0" align="center" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td width="121" rowspan="2">&nbsp;</td>
                                  <td width="194" height="50" align="left"><span class="style45">02)2275-3588</span></td>
                                </tr>
                                <tr>
                                  <td height="50" align="left"><span class="style16">平日 : AM 10:30 ~ PM 19:00<br />
                                    <span class="style46">逢六、日及法定假日暫停服務</span></span></td>
                                </tr>
                              </table></td>
                            </tr>
                          </table></td>
                          <td width="313" valign="top"><table width="313" height="147" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                              <td height="36" valign="bottom"><table width="313" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td width="112">&nbsp;</td>
                                  <td width="153" align="left" valign="bottom"><span class="style43">公告</span></td>
                                  <td width="48" align="left"><a href="#"><img src="images/bottom_more.png" width="34" height="11" border="0" /></a></td>
                                </tr>
                              </table></td>
                            </tr>
                            <tr>
                              <td height="10"></td>
                            </tr>
                            <tr>
                              <td valign="top"><table width="313" height="89" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td width="44" rowspan="6">&nbsp;</td>
                                  <td width="269" height="3"></td>
                                </tr>
                                <tr>
                                  <td height="20" align="left" valign="middle"><table width="269" border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                      <td width="200"><span><a href="#" class="style48">國國國國國國國國國國國國國...</a></span></td>
                                      <td width="69"><span class="style47">2012/12/12</span></td>
                                    </tr>
                                  </table></td>
                                </tr>
                                <tr>
                                  <td height="20" align="left"><table width="269" border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                      <td width="200"><span><a href="#" class="style48">國國國國國國國國國國國國國...</a></span></td>
                                      <td width="69"><span class="style47">2012/12/12</span></td>
                                    </tr>
                                  </table></td>
                                </tr>
                                <tr>
                                  <td height="20" align="left"><table width="269" border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                      <td width="200"><span><a href="#" class="style48">國國國國國國國國國國國國國...</a></span></td>
                                      <td width="69"><span class="style47">2012/12/12</span></td>
                                    </tr>
                                  </table></td>
                                </tr>
                                <tr>
                                  <td height="20" align="left"><table width="269" border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                      <td width="200"><span><a href="#" class="style48">國國國國國國國國國國國國國...</a></span></td>
                                      <td width="69"><span class="style47">2012/12/12</span></td>
                                    </tr>
                                  </table></td>
                                </tr>
                                <tr>
                                  <td height="3"></td>
                                </tr>
                              </table></td>
                            </tr>
                          </table></td>
                          <td width="321" valign="top"><table width="321" height="147" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                              <td height="36" valign="bottom"><table width="321" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td width="114">&nbsp;</td>
                                  <td width="147" align="left" valign="bottom"><span class="style43">評價</span></td>
                                  <td width="60" align="left"><a href="#"><img src="images/bottom_more.png" width="34" height="11" border="0" /></a></td>
                                </tr>
                              </table></td>
                            </tr>
                            <tr>
                              <td height="10"></td>
                            </tr>
                            <tr>
                              <td valign="top"><table width="275" height="101" border="0" align="center" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td height="51" valign="top"><table width="274" height="51" border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                      <td width="50" height="44" align="center" valign="middle"><table border="0" align="center" cellpadding="0" cellspacing="0" background="images/bottom_review_box.png">
                                        <tr>
                                          <td width="50" height="44" align="center" valign="middle"><img name="" src="" width="49" height="43" alt="圖" style="background-color: #FF0000" /></td>
                                        </tr>
                                      </table></td>
                                      <td width="208"><table width="208" border="0" align="center" cellpadding="0" cellspacing="0">
                                        <tr>
                                          <td align="left"><span class="style61">相關分類：周邊&gt;掌上電腦/手機</span></td>
                                        </tr>
                                        <tr>
                                          <td align="left"><span><a href="#" class="style24">這個項目是值得推薦的。價格....</a></span></td>
                                        </tr>
                                      </table></td>
                                    </tr>
                                  </table></td>
                                  </tr>
                                <tr>
                                  <td height="50" valign="top"><table width="274" height="51" border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                      <td width="50" height="44" align="center" valign="middle"><table border="0" align="center" cellpadding="0" cellspacing="0" background="images/bottom_review_box.png">
                                        <tr>
                                          <td width="50" height="44" align="center" valign="middle"><img name="" src="" width="49" height="43" alt="圖" style="background-color: #FF0000" /></td>
                                        </tr>
                                      </table></td>
                                      <td width="208"><table width="208" border="0" align="center" cellpadding="0" cellspacing="0">
                                        <tr>
                                          <td align="left"><span class="style61">相關分類：周邊&gt;掌上電腦/手機</span></td>
                                        </tr>
                                        <tr>
                                          <td align="left"><span><a href="#" class="style24">這個項目是值得推薦的。價格....</a></span></td>
                                        </tr>
                                      </table></td>
                                    </tr>
                                  </table></td>
                                  </tr>
                              </table></td>
                            </tr>
                          </table></td>
                        </tr>
                      </table></td>
                    </tr>
                    <tr>
                      <td height="8"></td>
                    </tr>
                  </table></td>
                </tr>
              </table></td>
            </tr>
            <tr>
              <td height="20"></td>
            </tr>
          </table>
        <!-- InstanceEndEditable --></td>
      </tr>
      <tr>
        <td width="1024" height="118"><table width="955" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="230" height="118" align="center"><a href="index.html"><img name="" width="200" height="66" alt="logo位置" style="background-color: #FF0000" /></a></td>
            <td width="10" align="center"><img src="images/end_Separateline1.png" width="1" height="80" /></td>
            <td width="715" valign="middle"><table width="715" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="40" align="left" valign="top"><div align="center">
                  <table border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="50" align="center" class="style2"></td>
                        <td align="center" class="style2"><span class="style2"><a href="#" class="style2">公司簡介</a></span></td>
                        <td width="20" align="center" class="style2"><img src="images/end_Separateline2.png" width="1" height="11" /></td>
                        <td align="center" class="style2"><a href="#" class="style2">平台政策與規範</a></td>
                        <td width="20" align="center" class="style2"><img src="images/end_Separateline2.png" alt="" width="1" height="11" /></td>
                        <td align="center" class="style2"><a href="#" class="style2">網路交易安全</a></td>
                        <td width="20" align="center" class="style2"><img src="images/end_Separateline2.png" alt="" width="1" height="11" /></td>
                        <td align="center" class="style2"><a href="#" class="style2">智財侵權檢舉</a></td>
                        <td width="20" align="center" class="style2"><img src="images/end_Separateline2.png" alt="" width="1" height="11" /></td>
                        <td align="center" class="style2"><a href="#" class="style2">違規事件通報</a></td>
                        <td width="20" align="center" class="style2"><img src="images/end_Separateline2.png" alt="" width="1" height="11" /></td>
                        <td align="center" class="style2"><a href="#" class="style2">服務中心</a></td>
                      </tr>
                  </table>
                </div></td>
              </tr>
              <tr>
                <td height="40" valign="top" class="style2"><table border="0" cellpadding="0" cellspacing="0">
                  <tr>
                  <td width="50" align="center" class="style2"></td>
                    <td><span class="style2">本平台中台灣各店家所銷售的商品或服務，都是由各該店家所銷售或提供。 | 電話 : 02-2275-3588 | 傳真 : 02-2275-3788<br/>
微衡科技　版權所有 ⓒ 2011 Microbalance. All Rights Reserved.</span></td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
<!-- InstanceEnd --></html>
